package com.xyulu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xyulu.entity.BlogCommentsEntity;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lumin
 * @since 2021-02-25
 */
public interface BlogCommentsDao extends BaseMapper<BlogCommentsEntity> {

    void AddReplyNum(Integer id);

    List<BlogCommentsEntity> listComments(Integer blogId);

    List<BlogCommentsEntity> listChilds(Integer id);
}
